package com.blank.black.entity.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * example条件配置表
 * </p>
 *
 * @author htr
 * @since 2024-02-23
 */

public class ConfigCriteria implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Long id;

    /**
     * 配置Id
     */
    private Long configId;

    /**
     * 组Id
     */
    private Integer groupId;

    /**
     * 组内排序
     */
    private Integer order;

    /**
     * 逻辑关系：1:and,2:or
     */
    private Integer logic;

    /**
     * 表名
     */
    private String tableName;
    /**
     * 表别名
     */
    private String tableAlias;

    /**
     * 列类型
     */
    private Integer colType;

    /**
     * 列名
     */
    private String colName;

    /**
     * 列别名
     */
    private String colAlias;

    /**
     * 列中文名
     */
    private String colNameZh;

    /**
     * 判断条件符号
     */
    private Integer condition;

    /**
     * 默认值,用于做为查询条件的默认值
     */
    private String defaultValue1;

    /**
     * 默认值,用于做为查询条件的默认值
     */
    private String defaultValue2;

    /**
     * 当入参中数据为null时是否将null作为参数继续执行该条件标志 1：继续，0：跳过该条件
     */
    private Integer nullFlag;

    /**
     * 必填标志 1：必填，0：非必填
     */
    private Integer requireFlag;

    /**
     * 强制默认值标志（不接收请求参数中的默认值）：1强制，0不强制
     */
    private Integer defaultFlag;

    /**
     * 启用标志：1在用0已弃用
     */
    private Integer enableFlag;

    /**
     * 修改人
     */
    private String updateUser;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getConfigId() {
        return configId;
    }

    public void setConfigId(Long configId) {
        this.configId = configId;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public Integer getLogic() {
        return logic;
    }

    public void setLogic(Integer logic) {
        this.logic = logic;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getColName() {
        return colName;
    }

    public void setColName(String colName) {
        this.colName = colName;
    }

    public String getColAlias() {
        return colAlias;
    }

    public void setColAlias(String colAlias) {
        this.colAlias = colAlias;
    }

    public String getColNameZh() {
        return colNameZh;
    }

    public void setColNameZh(String colNameZh) {
        this.colNameZh = colNameZh;
    }

    public Integer getCondition() {
        return condition;
    }

    public void setCondition(Integer condition) {
        this.condition = condition;
    }

    public String getDefaultValue1() {
        return defaultValue1;
    }

    public void setDefaultValue1(String defaultValue1) {
        this.defaultValue1 = defaultValue1;
    }

    public String getDefaultValue2() {
        return defaultValue2;
    }

    public void setDefaultValue2(String defaultValue2) {
        this.defaultValue2 = defaultValue2;
    }

    public Integer getNullFlag() {
        return nullFlag;
    }

    public void setNullFlag(Integer nullFlag) {
        this.nullFlag = nullFlag;
    }

    public Integer getDefaultFlag() {
        return defaultFlag;
    }

    public void setDefaultFlag(Integer defaultFlag) {
        this.defaultFlag = defaultFlag;
    }

    public Integer getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Integer enableFlag) {
        this.enableFlag = enableFlag;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getColType() {
        return colType;
    }

    public void setColType(Integer colType) {
        this.colType = colType;
    }

    public String getTableAlias() {
        return tableAlias;
    }

    public void setTableAlias(String tableAlias) {
        this.tableAlias = tableAlias;
    }

    public Integer getRequireFlag() {
        return requireFlag;
    }

    public void setRequireFlag(Integer requireFlag) {
        this.requireFlag = requireFlag;
    }
}
